package entity;

public class CategoryAttributes {
    private Integer category_attributes_id;

    private Long category_id;

    private Integer attribute_id;

    public CategoryAttributes() {
    }

    public CategoryAttributes(Long category_id, Integer attribute_id) {
        this.category_id = category_id;
        this.attribute_id = attribute_id;
    }

    public Integer getCategory_attributes_id() {
        return category_attributes_id;
    }

    public void setCategory_attributes_id(Integer category_attributes_id) {
        this.category_attributes_id = category_attributes_id;
    }

    public Long getCategory_id() {
        return category_id;
    }

    public void setCategory_id(Long category_id) {
        this.category_id = category_id;
    }

    public Integer getAttribute_id() {
        return attribute_id;
    }

    public void setAttribute_id(Integer attribute_id) {
        this.attribute_id = attribute_id;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", category_attributes_id=").append(category_attributes_id);
        sb.append(", category_id=").append(category_id);
        sb.append(", attribute_id=").append(attribute_id);
        sb.append("]");
        return sb.toString();
    }
}